hip.api.graphics.text

Undocumented in source.

Members

Enums

HipTextAlign
enum HipTextAlign

All the combinations that exists for align, specifies firstly the vertical position, then the horizontal: i.e: centerLeft is center vertical, left horizontally

Functions

getAlignH
HipTextAlign getAlignH(HipTextAlign input)
Undocumented in source. Be warned that the author may not have intended to support it.
getAlignV
HipTextAlign getAlignV(HipTextAlign input)
Undocumented in source. Be warned that the author may not have intended to support it.
getPositionFromAlignment
void getPositionFromAlignment(int x, int y, int width, int height, HipTextAlign alignment, int newX, int newY, Size bounds)
putTextVertices
int putTextVertices(IHipFont font, HipTextRendererVertexAPI[] vertices, string text, int x, int y, float depth, float scale, HipTextAlign align_, Size bounds, bool wordWrap, bool shouldRenderSpace)

Structs

Size (from hip.math.rect)
struct Size via public import hip.math.rect : Size;
Undocumented in source.

Meta